import { defineComponent } from "vue";
import ColumnFilter from "./ColumnFilter";
import ReloadTable from "./ReloadTable";
import SetSize from "./SetSize";

export default defineComponent(() => {
    /** 图标样式 */
    const iconClass = "text-(--el-text-color-regular) hover:text-(--el-color-primary) cursor-pointer";

    return () => (
        <el-space size="default">
            <ReloadTable iconClass={iconClass} />
            <ColumnFilter iconClass={iconClass} />
            <SetSize iconClass={iconClass} />
        </el-space>
    );
}, {
    name: "TableToolbars",
});
